package com.wk.controller;

import com.wk.entity.CmfzMenu;
import com.wk.service.CmfzAdminService;
import com.wk.service.CmfzMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("menu")
public class MenuController {

    @Autowired
    private CmfzMenuService cmfzMenuService;

    @RequestMapping("findAll")
    public List findAll(){
        return cmfzMenuService.findAll();
    }

}
